'use strict';
angular.module('app').controller('mainCtrl',['$http','$scope',function($http,$scope){
    $http.get('/data/positionList.json').then(function onSuccess(resp){
        $scope.list=resp.data;
    }).catch(function onError(resp){
        console.log(resp);
    });

}]);